<?php
	class Task_employee extends AppModel
	{
		var $name = 'Task_employee';
		var $useTable = 'function_employees';	

		var $belongsTo = array(
			'Person' => 
				array ('className' => 'Person',
					'conditions' => '',
					'order' => '',
					'foreignKey' => 'id_funcionario'
					),
			'Task' =>
				array('className' => 'Task',
					'conditions' => '',
					'order' => '',
					'foreignKey' => 'id_funcion'
					)
			);
	}
?>